Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "heatmap-picker">

It allows to retrieve heatmap value information on the coordinates.

Inputs

A JSON with these parameters:
heatmapname string
the name of the heatmap (the list of heatmaps is also available from DataInspector and Dashboard Wizard but without the date which has to be retrieved from the panel in the dashboard and in the near future in Heatmap Manager)
latitude number
latitude of the GPS point
longitude number
longitude of the GPS point
datetime string
datetime, date/time to when retrieve the heatmap. The string format can be: yyyy-mm-ddThh:mm:ss

Outputs

A JSON containing the information of the heatmap

Details

The node can receive a JSON with the parameters described in the Inputs section and with them generate the output JSON. If the values are not present in the input JSON, these are read by those in the configuration. If they are not present in either part, an error is generated for the necessary parameters.